#!/bin/bash
#compile
g++ ./test.cpp -o ./test -I /usr/local/include/soci -I /opt/oracle/product/11gR2/db/rdbms/public -lsoci_core -lsoci_oracle -ldl -locci -lorasdk -L /opt/oracle/product/11gR2/db/lib

#set env and run ...
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
./test
